package com.tbit.uqbike.webmanager.business.maintain_performance.object.dto;

import com.tbit.uqbike.webmanager.business.maintain_performance.object.PerformanceRuleGroup;

import java.util.List;

/**
 * 具体某个业务绩效配置的业务对象接口
 *
 * @author <a href="mailto:zheng.zebiao@tbit.com.cn">zb</a>
 * @since 2025/2/20
 */
public interface BizPerformanceConfig {
    /**
     * 转化为数据库原始数据
     */
    List<PerformanceRuleGroup> toRaw();

    /**
     * 如果规则组为空，则初始化为默认值
     */
    void initDefaultIfNull();
}
